package com.testdemo.web.vo;

import com.labmanager.JsonModule.RequestBase;

public class WeekSummary extends RequestBase {
	private Integer id;
	private String username;
	private String content;
	private Integer term;
	private Integer week;
	private String title;
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Integer getTerm() {
		return term;
	}
	public void setTerm(Integer term) {
		this.term = term;
	}
	public Integer getWeek() {
		return week;
	}
	public void setWeek(Integer week) {
		this.week = week;
	}
	
	@Override
	public boolean checkData() {
		if(super.checkData() == false) return false;
		if(username == null || content == null || term == null || week == null) return false;
		return true;
	}
}
